Increase the wait time for realtime integration test from 10s to 30s #1366
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Increase the wait time for FirebaseRemoteConfigTest.TestAddOnConfigUpdateListener from 10s to 30s to reduce test flakiness.
As shown on #1179, the realtime integration test is flaky.
I looked into the logs and all of the failures fail at the point of waiting 10s for the promise to indicate that an updated config has been fetched (example). I looked into a number of other logs and see that even though most runs of this test finish in less than 3 seconds, around 10% of the successes take 5-10 seconds, so the flaky failures are likely just taking slightly longer than normal due to slow network or other delays. 30 seconds should be enough to significantly reduce the flakiness.
Testing
N/A. The change is trivial. Investigated our archive of github test logs to see how often the test takes 10s or almost 10s.
Type of Change
Place an
xthe applicable box:Notes
Release Notessection ofrelease_build_files/readme.md.